{extends file="../home.html"}
{block name="title"}{$head_title}{/block}
{block name="css"}
 	<link rel="stylesheet" style="text/css" href="__PUBLIC__/Css/front/front_css/login_regist.css?version={$version}"> 
{/block}
{block name="content"}
	<div class="service_header">
	    <i class="icon icon_back_default3x" style="top:.7rem"></i>
	    <span>返回</span>
	    <p>登录</p>
	</div>
	<h1 class="login-logo">
		<img src="/Public/Images/front/front_img/logo_default3x.png"/>
	</h1>
	<form class="form-regist" method="post" style="margin:0 auto;height:5rem;">
		<div class="formitems">
			<label class="icon_five icon_shouji_default3x" for="phone"></label>
			<span class="v-line"></span>
			<input type="number" name="phone" id="phone" placeholder="手机号码" class="item-cont" />
		</div>
		<div class="formitems border-no">
			<label class="icon_five icon_mima_default3x" for="psd"></label>
			<span class="v-line"></span>
			<input type="password" name="psd" id="psd" placeholder="密码" class="item-cont" />
		</div>
	</form>
	<a href="javascript:void(0);" class="login-btn">登录</a>
{/block}
{block name="js"}
{literal}
	<script type="text/javascript" src="/Public/Js/front/front_js/ajaxupload.3.5.js"></script>
	<script type="text/javascript">
		$(".service_header i,.service_header span").on("click",function(){
            history.go(-1);
        });
		$(".login-btn").on("click",function(){
			if($("#phone").val()==''){
                layer.open({
                    content: '请输入手机号码',
                    title: false,
                    btn: ['确定'],
                });
                return;
            }
			if($("#psd").val()==''){
                layer.open({
                    content: '请输入密码',
                    title: false,
                    btn: ['确定'],
                });
                return;
            }
		});
	</script>
	
{/literal}
{/block}